package com.jubaopen.bean;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class FirmInfo {

	private int id;
	private int userId;
	private String firmName;
	private String firmNick;
	private String licenseNo;
	private String bizAddress;
	private String contact;
	private String licensePic;
	private String corporatePic;
	private String commissionPic;
	private int state;
	private Date applyTime;
	private Date gmtTime;
	
	
	public FirmInfo(){
		
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public int getUserId() {
		return userId;
	}


	public void setUserId(int userId) {
		this.userId = userId;
	}


	public String getFirmName() {
		return firmName;
	}


	public void setFirmName(String firmName) {
		this.firmName = firmName;
	}


	public String getFirmNick() {
		return firmNick;
	}


	public void setFirmNick(String firmNick) {
		this.firmNick = firmNick;
	}


	public String getLicenseNo() {
		return licenseNo;
	}


	public void setLicenseNo(String licenseNo) {
		this.licenseNo = licenseNo;
	}


	public String getBizAddress() {
		return bizAddress;
	}


	public void setBizAddress(String bizAddress) {
		this.bizAddress = bizAddress;
	}


	public String getContact() {
		return contact;
	}


	public void setContact(String contact) {
		this.contact = contact;
	}


	public String getLicensePic() {
		return licensePic;
	}


	public void setLicensePic(String licensePic) {
		this.licensePic = licensePic;
	}


	public String getCorporatePic() {
		return corporatePic;
	}


	public void setCorporatePic(String corporatePic) {
		this.corporatePic = corporatePic;
	}


	public String getCommissionPic() {
		return commissionPic;
	}


	public void setCommissionPic(String commissionPic) {
		this.commissionPic = commissionPic;
	}


	public int getState() {
		return state;
	}


	public void setState(int state) {
		this.state = state;
	}


	public String getApplyTime() {
		if (applyTime != null && !"".equals(applyTime)) {
			DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			return df.format(applyTime);
		} else {
			return "";
		}
	}


	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}


	public String getGmtTime() {
		if (gmtTime != null && !"".equals(gmtTime)) {
			DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			return df.format(gmtTime);
		} else {
			return "";
		}
	}


	public void setGmtTime(Date gmtTime) {
		this.gmtTime = gmtTime;
	}
	
	
	
	
}
